#ifndef TRANSACTION_HH
#define TRANSACTION_HH

#include <string>

namespace mini_bank {

class Transaction {
private:
    std::string transactionId;
    std::string type;
    double amount;
    std::string note;
    std::string timestamp;

public:
    Transaction(const std::string& id,
                const std::string& type,
                double amount,
                const std::string& note);

    std::string getId() const;
    std::string getType() const;
    double      getAmount() const;
    std::string getNote() const;
    std::string getTimestamp() const;

    std::string toString() const;
};

} // namespace mini_bank

#endif // TRANSACTION_HH
